﻿(()=>{"use strict";var __webpack_modules__={121590:(e,t,i)=>{var s=i(27171),o=i(149685),_=i(832230),r=i(293498),l=i(364122),n=i(664054),a=i(428208),h=i(791713),d=i(796908),u=i(938141),c=i(217700);window.uiTabs=s.default,window.uiActionsMenu=o.default,window.uiRightMenu=r.default,window.uiPageBlock=l.default,window.uiSearch=n.default,window.uiScrollBox=a.default,window.uiPhotoZoom=h.default,window.Scrollbar=window.Scrollbar||d.default,window.OList=u.default,window.UiScroll=_.default,window.uiScroll=_.default,window.Slider=c.default;try{stManager.done("ui_common.js")}catch(e){}},796908:(e,t,i)=>{i.d(t,{default:()=>c});i(66108),i(296253);var s=i(695724),o=i(49535),_=i(726271),r=i(315544),l=i(635676);function n(e){if(!this.inited)return!1;if(e||(e=window.event),this.isHorizontal){var t=Math.floor((this.contWidth()-this.scrollWidth)*Math.min(1,(e.screenX-this.moveX)/(this.scrollbarSize-this.innerWidth-6)));(0,s.isFunction)(this.options.onScroll)&&this.options.onScroll(this.obj.scrollLeft-t,this),this.obj.scrollLeft=t}else{var i=Math.floor((this.contHeight()-this.scrollHeight)*Math.min(1,(e.screenY-this.moveY)/(this.scrollbarSize-this.innerHeight-6)));(0,s.isFunction)(this.options.onScroll)&&this.options.onScroll(this.obj.scrollTop-i,this),this.obj.scrollTop=i}return this.update(!0),!1}function a(){return!!this.inited&&(this.moveY=this.moveX=this.isDown=!1,this.isOut&&this.contOut(),removeEvent(document,"mousemove",this.mouseMove),removeEvent(document,"mouseup",this.mouseUp),setStyle(document.body,"cursor","default"),setStyle(this.obj,{pointerEvents:""}),removeClass(this.inner,"scrollbar_hovered"),(0,s.isFunction)(this.options.stopDrag)&&this.options.stopDrag(),(0,s.isFunction)(this.options.onHold)&&this.options.onHold(!1),!1)}function h(e){return!!this.inited&&(this.moveY||(0,o.checkEvent)(e)?void 0:(e||(e=window.event),addEvent(document,"mousemove",this.mouseMove),addEvent(document,"mouseup",this.mouseUp),setStyle(document.body,"cursor","pointer"),setStyle(this.obj,{pointerEvents:"none"}),this.isHorizontal?this.moveX=e.screenX-(this.inner.offsetLeft||0):this.moveY=e.screenY-(this.inner.offsetTop||0),addClass(this.inner,"scrollbar_hovered"),(0,s.isFunction)(this.options.startDrag)&&this.options.startDrag(),(0,s.isFunction)(this.options.onHold)&&this.options.onHold(!0),this.isDown=!0,(0,o.cancelEvent)(e)))}function d(e){switch(e||(e=window.event),e.keyCode){case 40:this.obj[this.scrollProp]+=40;break;case 38:this.obj[this.scrollProp]-=40;break;case 34:this.obj[this.scrollProp]+=this[this.scrollDimensionProp];break;case 33:this.obj[this.scrollProp]-=this[this.scrollDimensionProp];break;default:return!0}return this.update(!0),(0,o.cancelEvent)(e)}function u(e,t){var i=this.wheel.bind(this);this.obj=e=ge(e),this.options=extend({nomargin:!1,horizontal:!1,top:0,bottom:0,padding:3,prefix:"",hidden:0},t||{}),this.isHorizontal=this.options.horizontal,this.scrollProp=this.isHorizontal?"scrollLeft":"scrollTop",this.scrollDimensionProp=this.isHorizontal?"scrollWidth":"scrollHeight",this.topShadow=!1,this.bottomShadow=!1,this[this.scrollProp+"Last"]=this.obj[this.scrollProp],this.destroyList=[],this.mouseDown=h.bind(this),this.mouseMove=n.bind(this),this.mouseUp=a.bind(this),this.initObjMouseWheel=function(){addEvent(e,_.browserFeatures.wheelEvent,i)},this.destroyObjMouseWheel=function(){removeEvent(e,_.browserFeatures.wheelEvent,i)},this.initScrollBarMouseWheel=function(){addEvent(this.scrollbar,_.browserFeatures.wheelEvent,i)}.bind(this),this.destroyScrollBarMouseWheel=function(){removeEvent(this.scrollbar,_.browserFeatures.wheelEvent,i)}.bind(this),setTimeout(function(){setStyle(e,{overflow:"hidden"}),this.scrollbar=ce("div",{className:(this.options.prefix?this.options.prefix+"scrollbar_cont ":"")+"scrollbar_cont"+(this.isHorizontal?" scrollbar_cont_horiz":"")+(this.options.hidden?" scrollbar_hidden":"")}),this.inner=ce("div",{className:(this.options.prefix?this.options.prefix+"scrollbar_inner ":"")+"scrollbar_inner"}),this.scrollbar.appendChild(this.inner);var t=this.widthUpdated();this.options.shadows&&(e.parentNode.insertBefore(this.topShadowDiv=ce("div",{className:(this.options.prefix?this.options.prefix+"scrollbar_top ":"")+"scrollbar_top"},{width:t[0]}),e),e.parentNode.insertBefore(this.bottomShadowDiv=ce("div",{className:(this.options.prefix?this.options.prefix+"scrollbar_bottom ":"")+"scrollbar_bottom"},{width:t[0]}),e.nextSibling)),e.parentNode.insertBefore(this.scrollbar,e);var s=d.bind(this),l=function(){this.initObjMouseWheel(),removeEvent(e,"mousemove",l)}.bind(this);if(addEvent(e,"mouseleave",this.destroyObjMouseWheel),addEvent(e,"mouseenter",this.initObjMouseWheel),addEvent(e,"mousemove",l),addEvent(this.scrollbar,"mouseenter",this.initScrollBarMouseWheel),addEvent(this.scrollbar,"mouseleave",this.destroyScrollBarMouseWheel),this.options.scrollElements&&each(this.options.scrollElements,(function(e,t){addEvent(t,_.browserFeatures.wheelEvent,i)})),addEvent(this.scrollbar,"mouseover",this.contOver.bind(this)),addEvent(this.scrollbar,"mouseout",this.contOut.bind(this)),addEvent(this.scrollbar,"mousedown",this.contDown.bind(this)),_.browser.safari_mobile){var n=function(e){this.isHorizontal?cur.touchX=e.touches[0].pageX:cur.touchY=e.touches[0].pageY}.bind(this),a=function(t){return this.isHorizontal?(cur.touchDiff=cur.touchX-(cur.touchX=t.touches[0].pageX),e.scrollLeft+=cur.touchDiff,e.scrollLeft>0&&!1!==this.shown&&this.update(!0)):(cur.touchDiff=cur.touchY-(cur.touchY=t.touches[0].pageY),e.scrollTop+=cur.touchDiff,e.scrollTop>0&&!1!==this.shown&&this.update(!0)),(0,o.cancelEvent)(t)}.bind(this),h=function(){cur.animateInt=setInterval(function(){cur.touchDiff=.9*cur.touchDiff,cur.touchDiff<1&&cur.touchDiff>-1?clearInterval(cur.animateInt):(e[self.scrollProp]+=cur.touchDiff,this.update(!0))}.bind(this),0)}.bind(this);addEvent(e,"touchstart",n),addEvent(e,"touchmove",a),addEvent(e,"touchend",h),this.destroyList.push((function(){removeEvent(e,"touchstart",n),removeEvent(e,"touchmove",a),removeEvent(e,"touchend",h)}))}addEvent(this.inner,"mousedown",this.mouseDown),this.options.nokeys?this.onkeydown=s:addEvent(window,"keydown",s),this.destroyList.push(function(){removeEvent(e,_.browserFeatures.wheelEvent,i),this.options.scrollElements&&each(this.options.scrollElements,(function(e,t){removeEvent(t,_.browserFeatures.wheelEvent,i)})),removeEvent(this.inner,"mousedown",this.mouseDown),removeEvent(window,"keydown",s),removeEvent(e,"mousemove",l),(0,r.re)(this.scrollbar)}.bind(this)),this.isHorizontal||(this.contHeight()<=this.scrollHeight?hide(this.bottomShadowDiv):this.bottomShadow=!0),this.options.onInit&&this.options.onInit(),this.inited=!0,this.update(!0),this.options.global||cur.destroy.push(this.destroy.bind(this))}.bind(this),0)}u.prototype={wheel:function(e){if(!this.disabled){e||(e=window.event);var t=0,i=this.obj[this.scrollProp],o=void 0!==e.deltaMode?e.deltaMode:"MozMousePixelScroll"==e.type?0:1;if("wheel"==e.type?t=-(this.isHorizontal?e.deltaX:e.deltaY):void 0!==e.wheelDeltaX&&void 0!==e.wheelDeltaY?(t=1/40*(this.isHorizontal?e.wheelDeltaX:e.wheelDeltaY),_.browser.mac&&_.browser.opera&&(t*=.1)):void 0!==e.wheelDelta?t=1/40*e.wheelDelta:e.detail&&e.axis===(this.isHorizontal?1:2)&&(t=-e.detail),t=1*t*(1==o?15:2==o?450:1))return this.obj[this.scrollProp]-=t,(0,s.isFunction)(this.options.onScroll)&&this.options.onScroll(t,this),i!=this.obj[this.scrollProp]&&!1!==this.shown&&(this.update(!0),addClass(this.inner,"scrollbar_hovered"),clearTimeout(this.moveTimeout),this.moveTimeout=setTimeout(function(){removeClass(this.inner,"scrollbar_hovered")}.bind(this),300)),!!(!this.shown&&!this.options.forceCancelEvent||this.isHorizontal&&i==this.obj[this.scrollProp])&&void 0}},setOptions:function(e){extend(this.options,e)},widthUpdated:function(){var e,t=(0,r.getSize)(this.obj);return e=this.isHorizontal?{marginLeft:this.options.top+"px",marginTop:t[1]+3+"px",width:t[0]-this.options.top-this.options.bottom+"px"}:{marginTop:this.options.top+"px",marginLeft:this.options.nomargin?0:t[0]-(this.options.mlDiff||7)+"px",height:t[1]-this.options.top-this.options.bottom+"px"},this.options.nomargin&&(void 0!==this.options.right&&"auto"!==this.options.right?(e.right=this.options.right,e.left="auto"):void 0!==this.options.left&&(e.right="auto",e.left=this.options.left)),this.scrollWidth=t[0],this.scrollHeight=t[1],this.scrollbarSize=t[this.isHorizontal?0:1]-this.options.top-this.options.bottom,setStyle(this.scrollbar,e),setTimeout(function(){removeClass(this.scrollbar,"no_transition")}.bind(this)),t},contOver:function(){this.isOut=!1,this.shown&&addClass(this.scrollbar,"scrollbar_c_overed")},contOut:function(){this.isOut=!0,this.isDown||removeClass(this.scrollbar,"scrollbar_c_overed")},contDown:function(e){if(e||(e=window.event),this.isHorizontal){var t=e.offsetX-this.innerWidth/2+5,i=this.scrollbarSize-this.innerWidth;this.obj.scrollLeft=Math.floor((this.contWidth()-this.scrollWidth)*Math.min(1,t/i))}else{var s=e.offsetY-this.innerHeight/2+5,o=this.scrollbarSize-this.innerHeight;this.obj.scrollTop=Math.floor((this.contHeight()-this.scrollHeight)*Math.min(1,s/o))}this.update(!0),this.mouseDown(e)},hide:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){hide(this.topShadowDiv,this.bottomShadowDiv,this.scrollbar),this.hidden=!0})),show:function(){(0,r.show)(this.topShadowDiv,this.bottomShadowDiv,this.scrollbar),this.hidden=!1},disable:function(){this.hide(),this[this.scrollProp](0),this.disabled=!0},enable:function(){this.show(),this.update(),this.disabled=!1},getScrollHeight:function(){return this.scrollHeight},scrollTop:function(e){if(void 0===e)return this.obj.scrollTop;this.obj.scrollTop=parseInt(e),this.update(!1,!0)},scrollBottom:function(e){if(void 0===e)return this.contHeight()-this.scrollHeight-this.obj.scrollTop;this.obj.scrollTop=this.contHeight(!0)-this.scrollHeight-e,this.update(!0,!0)},smoothScroll:function(e,t,i){var s=this.obj.scrollTop+e;void 0===i&&(i=300);var o=this;new l.Fx.Base({scrollTop:this.obj.scrollTop},{transition:l.Fx.Transitions.easeOutCubic,onStep:function(e){o.obj.scrollTop=e.scrollTop,o.update(!0)},duration:i,onComplete:function(){t&&t(scroll)}}).start({scrollTop:this.obj.scrollTop},{scrollTop:s})},scrollLeft:function(e){this.obj.scrollLeft=parseInt(e),this.update(!1,!0)},destroy:function(){each(this.destroyList||[],(function(e,t){t()}))},contHeight:function(){return Math.round(this.options.contHeight||this.obj.scrollHeight)},contWidth:function(){return Math.round(this.options.contWidth||this.obj.scrollWidth)},val:function(e){return e&&(this.obj[this.scrollProp]=e,this.update(!0,!0)),this.obj[this.scrollProp]},update:function(e,t){if(this.inited&&!this.hidden){if(!e&&(this.isHorizontal?this.moveX:this.moveY))return!0;var i,o;if(t&&(i=(0,r.getSize)(this.obj),this.isHorizontal?(this.scrollWidth=i[0],i=Math.round(this.scrollWidth-this.options.top-this.options.bottom),this.scrollbarSize!==i&&(this.scrollbar.style.width=i+"px")):(this.scrollHeight=i[1],i=Math.round(this.scrollHeight-this.options.top-this.options.bottom),this.scrollbarSize!==i&&(this.scrollbar.style.height=i+"px")),this.scrollbarSize=i),this.isHorizontal?(i=this.contWidth())<=Math.round(this.scrollWidth):(i=this.contHeight())<=Math.round(this.scrollHeight))return hide(this.inner,this.bottomShadowDiv,this.topShadowDiv),this.scrollbar.style.pointerEvents="none",this.topShadow=this.bottomShadow=this.shown=!1,(0,s.isFunction)(this.options.more)&&i-this.obj[this.scrollProp]<2*this[this.scrollDimensionProp]&&this.options.more(this),void(this[this.scrollProp+"Last"]=this.obj[this.scrollProp]);this.shown||((0,r.show)(this.inner),this.scrollbar.style.pointerEvents="",this.shown=!0);var _=this.val();(0,s.isFunction)(this.options.scrollChange)&&this.options.scrollChange(_),this.lastProgress=Math.min(1,_/(i-(this.isHorizontal?this.scrollWidth:this.scrollHeight))),this.lastProgress>0!=this.topShadow&&((this.topShadow=!this.topShadow)?r.show:hide)(this.topShadowDiv),this.lastProgress<1!=this.bottomShadow&&((this.bottomShadow=!this.bottomShadow)?r.show:hide)(this.bottomShadowDiv),this.isHorizontal?((o=Math.max(40,Math.floor(this.scrollbarSize*this.scrollWidth/i)))!==this.innerWidth&&(this.inner.style.width=(this.innerWidth=o)+"px"),this.inner.style.marginLeft=(this.scrollbarSize-o-2*this.options.padding)*this.lastProgress+this.options.padding+"px"):((o=Math.max(40,Math.floor(this.scrollbarSize*this.scrollHeight/i)))!==this.innerHeight&&(this.inner.style.height=(this.innerHeight=o)+"px"),this.inner.style.marginTop=(this.scrollbarSize-o-2*this.options.padding)*this.lastProgress+this.options.padding+"px"),(0,s.isFunction)(this.options.more)&&i-this.obj[this.scrollProp]<2*this[this.scrollDimensionProp]&&this.options.more(this),this[this.scrollProp+"Last"]=this.obj[this.scrollProp]}},restore:function(){this.obj[this.scrollProp]=this[this.scrollProp+"Last"]}};const c=u},217700:(e,t,i)=>{i.d(t,{default:()=>l});var s=i(315544),o=i(49535),_=i(609720);function r(e,t){if(this.constructor!=r)throw new Error("Slider was called without 'new' operator");if(!e)throw new Error("No element was provided for Slider");e=ge(e),this.options=t||{size:1},this.options.backValue=this.options.backValue||0;var i=100*this.options.backValue,o=`<div class="slider_slide"><div class="slider_loading_bar" style="opacity: 0; display: none;"></div> ${this.options.withBackLine?'<div class="slider_back" style="width:'+i+'%"></div>':""} <div class="slider_amount"></div> <div class="slider_handler"></div> </div>`;this._el=ce("div",{innerHTML:o,className:"slider",id:e.getAttribute("id")||""});for(var l=e.classList||[],n=this,a=0,h=l.length;a<h;a++)addClass(this._el,l[a]);each(this._el.attributes,(function(e,t){"id"==t.name&&"class"==t.name||n._el.setAttribute(t.name,t.value)})),e.parentNode.replaceChild(this._el,e),(0,s.data)(this._el,"slider",this),this._amountEl=geByClass1("slider_amount",this._el),this._handlerEl=geByClass1("slider_handler",this._el),this._slideEl=geByClass1("slider_slide",this._el),this._backEl=geByClass1("slider_back",this._el),this._progressEl=geByClass1("slider_loading_bar",this._el),this.options.color&&(setStyle(this._amountEl,{backgroundColor:this.options.color}),setStyle(this._handlerEl,{backgroundColor:this.options.color})),this.options.handlerColor&&setStyle(this._handlerEl,{backgroundColor:this.options.handlerColor}),this.options.backColor&&setStyle(this._slideEl,{backgroundColor:this.options.backColor}),addClass(this._el,"slider_size_"+this.options.size),this.options.debounce&&(this._onValueChangeDebounced=(0,_.debounce)(this._onValueChange,this.options.debounce)),t.formatHint&&(addEvent(this._el,"mousemove",this._ev_onMouseOver=this._onMouseOver.bind(this)),addEvent(this._el,"mouseleave",this._ev_onMouseLeave=this._onMouseLeave.bind(this))),addEvent(this._el,"mousedown",this._ev_onMouseDown=this._onMouseDown.bind(this)),this.setValue(this.options.value||0,!this.options.fireChangeEventOnInit,!1),this.setBackValue(this.options.backValue)}r.prototype.toggleAdState=function(e){this._adState=!!e,(0,s.toggleClass)(this._el,"slider_ad_mode",!!e)},r.prototype.toggleAdMarker=function(e){e=!!e;var t=geByClass1("slider_ad_marker",this._el);if(e){if(!t){var i="onmouseover=\"showTooltip(this, {text: '"+getLang("global_audio_ad")+"', black: 1, shift: [16, 9, 10]})\"";t=(0,s.se)('<div class="slider_ad_marker_wrap" '+i+'><div class="slider_ad_marker"></div></div>'),(0,s.domPN)(this._slideEl).insertBefore(t,this._slideEl),delete this._width,addClass(this._el,"slider_ad_marker_shown")}}else(0,s.re)(t),delete this._width,removeClass(this._el,"slider_ad_marker_shown")},r.prototype.showAdMarker=function(e){var t=(0,s.se)('<div class="slider_ad_marker"></div>');(0,s.domPN)(this._slideEl).insertBefore(t,this._slideEl),delete this._width,addClass(this._el,"slider_ad_marker_shown")},r.prototype.isAdMode=function(){return hasClass(this._el,"slider_ad_mode")},r.prototype.setBlocked=function(e){this.blocked=e,addClass(this._el,"slider_blocked")},r.prototype.getBlocked=function(){return this.blocked},r.prototype.isBlocked=function(){return this.isAdMode()||this.getBlocked()},r.prototype.toggleLoading=function(e){e=!!e,(0,s.toggle)(this._progressEl,e),setStyle(this._progressEl,"opacity",e?1:0)},r.prototype.destroy=function(e){this.options.formatHint&&(removeEvent(this._el,"mousemove",this._ev_onMouseOver),removeEvent(this._el,"mouseleave",this._ev_onMouseLeave),removeEvent(this._el,"mousedown",this._ev_onMouseDown)),(0,s.re)(this._el),(0,s.re)(this._currHintEl)},r.prototype._updateHint=function(e,t){this._currHintEl||(this._currHintEl=(0,s.se)('<div class="slider_hint" id="slider_hint"></div>'),this.options.hintClass&&addClass(this._currHintEl,this.options.hintClass),this._el.appendChild(this._currHintEl)),this._width=this._width||getSize(this._slideEl)[0];var i=this._getPos(),o=Math.round(e.pageX-i[0]),_=this._width;if((o=t?Math.min(Math.max(0,o),_):o)>=0&&o<=_){var r=o/_;this._currHintEl.innerHTML=this.options.formatHint?this.options.formatHint.call(this,r):r;var l=getSize(this._currHintEl);setStyle(this._currHintEl,{left:this._slideEl.offsetLeft+o-l[0]/2,top:this._slideEl.offsetTop-l[1]-10}),!t&&this._toggleHint(!0)}else!t&&this._toggleHint(!1);this.options.formatHint||this._toggleHint(!1)},r.prototype._toggleHint=function(e){this.isAdMode()&&(e=!1),(0,s.toggleClass)(this._currHintEl,"visible",e)},r.prototype._onMouseOver=function(e){r._currenSliderDrag||hasClass(this._el,"active")||this._updateHint(e)},r.prototype._onMouseLeave=function(e){hasClass(this._el,"active")||this._toggleHint(!1)},r.prototype._onMouseDown=function(e){0==e.button&&(delete cur._sliderMouseUpNowEl,this._adState||this.getBlocked()||(addEvent(window,"mousemove",this._ev_onMouseMove=this._onMouseMove.bind(this)),addEvent(window,"mouseup",this._ev_onMouseUp=this._onMouseUp.bind(this)),this._width=getSize(this._slideEl)[0],this._onMouseMove(e),r._currenSliderDrag=this,addClass(this._el,"active"),(0,o.cancelEvent)(e)))},r.prototype._onMouseUp=function(e){cur._sliderMouseUpNowEl=this._el,removeEvent(window,"mousemove",this._ev_onMouseMove),removeEvent(window,"mouseup",this._ev_onMouseUp),clearTimeout(this._debounceto),this._onValueChange(),removeClass(this._el,"active"),r._currenSliderDrag=!1,this._toggleHint(!1),this.options.onEndDragging&&this.options.onEndDragging(this._currValue)},r.prototype._onMouseMove=function(e){var t=this._getPos(),i=Math.max(e.pageX,t[0]);i=Math.min(i,t[0]+this._width),i-=t[0],this.setValue(i/this._width,!0,!0),this._onValueChangeDebounced?this._onValueChangeDebounced():this._onValueChange(),this._toggleHint(!0),this._updateHint(e,!0),(0,o.cancelEvent)(e)},r.prototype._getPos=function(){return this._slidePos=getXY(this._slideEl)},r.LOGFBASE=35,r.prototype._logf=function(e){if(!this.options.log)return e;var t=r.LOGFBASE;return(Math.pow(t,e)-1)/(t-1)},r.prototype._unlogf=function(e){if(!this.options.log)return e;var t,i,s=r.LOGFBASE;return t=s,i=1+e*(s-1),Math.log(i)/Math.log(t)},r.prototype.setValue=function(e,t,i){if(!hasClass(this._el,"active")||i){var s=i?this._logf(e):e;if(this._currValue!=s){this._currValue=s;var o=i?e:this._unlogf(e);o=100*o+"%",setStyle(this._amountEl,{width:o}),setStyle(this._handlerEl,{left:o}),!t&&this._onValueChange()}}},r.prototype.setBackValue=function(e){(0,s.toggleClass)(this._backEl,"slider_back_transition",e>this._backValue),this._backValue=e;var t=100*e+"%";setStyle(this._backEl,{width:t})},r.prototype._onValueChange=function(){this._lastValue=this._lastValue||0,this._lastValue!=this._currValue&&(this._lastValue=this._currValue,this.options.onChange&&this.options.onChange(this._currValue))};const l=r},149685:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59357),_web_legacy_ui_ui_actions_menu_utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(891260),_web_lib_dom_events__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(49535),_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(315544),_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(695724),_web_lib_scroll__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(803834),_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(787481),_web_legacy_ui_ui_scroll__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(832230),uiActionsMenu={keyToggle:function(e,t){if(!(0,_web_lib_dom_events__WEBPACK_IMPORTED_MODULE_2__.checkKeyboardEvent)(t))return!1;var i=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.domClosest)("_ui_menu_wrap",e);i&&uiActionsMenu.toggle(i,!hasClass(i,"shown"))},keyboardToggle:function(e,t,i){if(!(0,_web_legacy_ui_ui_actions_menu_utils__WEBPACK_IMPORTED_MODULE_1__.isKeyboardActivationEvent)(t))return!1;var s,o=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.domClosest)("_ui_menu_wrap",e);(o&&uiActionsMenu.toggle(o,!hasClass(o,"shown")),null==i?void 0:i.preventKeyboardClickEvent)&&(null==t||null===(s=t.preventDefault)||void 0===s||s.call(t))},toggle:function toggle(el,s,options){var dummyMenu=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(el,"dummyMenu");dummyMenu&&(el=dummyMenu),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(el,"shown",s);var onhide=attr(el,"onHide");if(onhide&&!hasClass(el,"shown"))try{eval(onhide)}catch(e){(0,_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_6__.logEvalError)(e,onhide)}if(options&&options.onToggle){var script=options.onToggle.replace("{isShow}",""+s);try{eval(script)}catch(e){(0,_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_6__.logEvalError)(e,script)}}},show:function(e,t,i){var s=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"hidetimer");s&&(clearTimeout(s),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"hidetimer",0));var o=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"origMenu");if(o&&(s=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(o,"hidetimer"))&&(clearTimeout(s),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"hidetimer",0)),i&&i.delay){cur.uiActionsMenuShowTimeout&&clearTimeout(cur.uiActionsMenuShowTimeout);var _=i.delay;return delete i.delay,void(cur.uiActionsMenuShowTimeout=setTimeout(uiActionsMenu.show.pbind(e,t,i),_))}if(cur.uiActionsMenuShowTimeout&&(clearTimeout(cur.uiActionsMenuShowTimeout),delete cur.uiActionsMenuShowTimeout),i&&i.appendParentCls){var r,l,n=geByClass1("_ui_menu",e);if(n){l=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.domClosest)(i.appendParentCls,n),r=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.domClosest)("_ui_menu_wrap",e);var a=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.se)(`<div class="${r.className} ui_actions_menu_dummy_wrap" onmouseover="uiActionsMenu.show(this);" onmouseout="uiActionsMenu.hide(this);"></div>`);if(a.appendChild(n),l.appendChild(a),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"dummyMenu",a),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(a,"origMenu",e),e=a,(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(n,"top",(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_4__.intval)((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getStyle)(n,"top"))),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(n,"left",(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_4__.intval)((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getStyle)(n,"left"))),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(n,"right",(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_4__.intval)((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getStyle)(n,"right"))),i.processHoverCls){var h=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.domClosest)(i.processHoverCls,r);addEvent(e,"mouseover",addClass.pbind(h,"hover")),addEvent(e,"mouseout",removeClass.pbind(h,"hover"))}}else e=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"dummyMenu");var d=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"origMenu");n=geByClass1("_ui_menu",e),r=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.domClosest)("_ui_menu_wrap",d),l=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.domClosest)(i.appendParentCls,n),setStyle(n,{display:"block"});var u=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getXY)(l),c=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getXY)(r),p=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(n,"top"),b=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(n,"left"),m=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(n,"right"),E={top:c[1]-u[1]+p};m?E.right=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getSize)(l)[0]+u[0]-c[0]-(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getSize)(r)[0]+m:E.left=c[0]-u[0]+b,setStyle(n,E)}var g=geByClass1("_ui_menu",e);if(i&&i.autopos&&g&&!hasClass(e,"shown")){removeClass(e,"ui_actions_menu_left");var v=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getXY)(e)[1],w=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getSize)(e)[1],f=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getSize)(g)[1],M=i.dy||10,P=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getXY)(g)[0];removeClass(e,"ui_actions_menu_top"),addClass(e,"no_transition"),v+w+M+f>(0,_web_lib_scroll__WEBPACK_IMPORTED_MODULE_5__.scrollGetY)()+(window.lastWindowHeight||0)&&addClass(e,"ui_actions_menu_top"),v-M-f<(0,_web_lib_scroll__WEBPACK_IMPORTED_MODULE_5__.scrollGetY)()+(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.getSize)("page_header_wrap")[1]&&removeClass(e,"ui_actions_menu_top"),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.toggleClass)(e,"ui_actions_menu_left",P<0),removeClass(e,"no_transition")}i&&i.hasOwnProperty("alwaysTop")&&g&&!hasClass(e,"shown")&&(removeClass(e,"ui_actions_menu_top"),i.alwaysTop&&addClass(e,"ui_actions_menu_top")),i&&i.scroll&&i.maxHeight&&(g.style.maxHeight=((0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_4__.intval)(i.maxHeight)||200)+"px",g.__uiScroll__||new _web_legacy_ui_ui_scroll__WEBPACK_IMPORTED_MODULE_7__.default(g)),uiActionsMenu.toggle(e,!0,i)},hide:function(e,t,i){cur.uiActionsMenuShowTimeout&&(clearTimeout(cur.uiActionsMenuShowTimeout),delete cur.uiActionsMenuShowTimeout);var s=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"hidedelay");s?(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"hidedelay",!1):s=200,(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"hidetimer")||(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"hidetimer",setTimeout((function(){uiActionsMenu.toggle(e,!1,i),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"hidetimer",0)}),s))},hideDelay:function(e,t){(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_3__.data)(e,"hidedelay",t)}};const __WEBPACK_DEFAULT_EXPORT__=uiActionsMenu},938141:(e,t,i)=>{i.d(t,{default:()=>a});i(751876),i(283946),i(976142),i(59357),i(21466);var s=i(315544),o=i(695724),_=i(49535),r=i(27171),l=i(149685),n=i(786067);const a=class{constructor(e,t,i,l){0===i.length&&(i={}),l=l||{},this.indexer=new vkIndexer(t,l.getName?l.getName:function(e){var t=e[1];if(l.nameClass){var i=(0,s.se)(t);i&&(t=val(geByClass1(l.nameClass,i))||t)}return t}),this.owners=t,this.tpl=l.tpl,this.rsTpl=l.rsTpl,this.idIndex=l.idIndex||0,this.selected=i,this.getUnsorted=l.getUnsorted,this.unsortedIndex=l.unsortedIndex||0,this.box=e,this.filter=l.filter,l.onTabUpdate&&(this.onTabUpdate=l.onTabUpdate),l.onListClick&&(this.onListClick=l.onListClick);var n=this;e.setButtons(getLang("global_save"),(function(i){var s={},_=[],r=[];(0,o.each)(t,(function(){!n.invertedSelection&&n.selected[this[n.idIndex]]||n.invertedSelection&&!n.selected[this[n.idIndex]]?(s[this[n.idIndex]]=this,_.push(this[n.idIndex])):r.push(this[n.idIndex])})),!1!==cur.onOListSave(_,r,s,l.ret||{},i)&&e.hide(200)}),getLang("global_cancel")),l.box_options&&e.setOptions(l.box_options),this.scrollNode=geByClass1("privacy_olist",e.bodyNode),this.moreEl=geByClass1("olist_more",e.bodyNode,"a"),this.olistEl=geByClass1("olist",e.bodyNode,"div"),this.olistFilter=ge("olist_filter_actions"),this.sel=l.sel||0,this.tabs=geByClass1("ui_tabs",e.bodyNode),this.noSelMsg=l.noSelMsg||getLang("friends_no_user_selected"),this.invertedSelection=!1;var a=geByClass1("olist_tab_sel",this.tabs);this.selCnt=(0,o.intval)(val(geByClass1("ui_tab_count",a)));var h=this.filter?this.filter:this.filter=ge("olist_filter");setTimeout(elfocus.pbind(h),100),this.moreEl&&((0,s.isVisible)(this.moreEl)?this.moreEl.onclick=function(e){return n.renderList("",60),(0,_.cancelEvent)(e)}:((0,s.re)(this.moreEl),(0,s.show)(this.moreEl))),addEvent(this.olistEl,"click",this.onMouseEvent.bind(this)),addEvent(this.scrollNode,"scroll",this.onScroll.bind(this));var d=n.sel?n.sel>0?"sel":"unsel":"all",u=geByClass1("olist_tab_"+d,n.tabs);u=u&&geByClass1("ui_tab",u),(cur.onOListTabChange=function(e,t){e&&r.default.switchTab(e),void 0===t&&(t=void 0===n.selPrev?0:n.selPrev),n.selPrev=n.sel,n.sel=t,n.renderList(val(h),0,t),setTimeout(elfocus.pbind(h),100)})(u,n.sel),cur.onOlistChange=n.renderList.bind(this),cur.onOlistSelect=n.onOlistSelect.bind(this),cur.onOlistFilters=n.onOlistFilters.bind(this)}onScroll(){var e=(0,s.domPN)(this.box.bodyNode),t=this.moreEl,i=this.scrollNode,o=i.scrollHeight,_=i.scrollTop,r=i.offsetHeight||i.clientHeight;(0,s.toggleClass)(e,"olist_topsh",_>0),(0,s.toggleClass)(e,"olist_botsh",_+r<o),t&&t.offsetTop&&t.onclick&&_+r+200>=o&&t.onclick()}onMouseEvent(e){var t=e.originalTarget||e.target;if(hasClass(t,"olist_item_wrap")||(t=(0,s.gpeByClass)("olist_item_wrap",t)),t&&t!=bodyNode){if(hasClass(t,"olist_item_loading"))return(0,_.cancelEvent)(e);if((0,_.checkEvent)(e))return!0;this.box.changed=!0;var i=t.id.match(/-?\d+/)[0],o=!this.invertedSelection&&this.selected[i]||this.invertedSelection&&!this.selected[i];if((0,s.toggleClass)(t,"olist_item_wrap_on",!o),this.selected[i]=!o||this.invertedSelection,this.selCnt+=!o||this.invertedSelection?1:-1,this.selTabUpdate(),this.onListClick&&this.onListClick(t,o),this.scrollNode.scrollTop<50){var r=this.filter;setTimeout(elfocus.pbind(r),100)}return(0,_.cancelEvent)(e)}}onOlistSelect(e,t){l.default.toggle(this.olistFilter,!1);var i=this.selCnt,s=this.selected;switch(t.ctrlKey||t.metaKey||t.shiftKey||(s={},i=0),e){case"all":s={},i=0,(0,o.each)(this.owners,(function(){s[this[0]]=1,i++}));break;case"none":s={},i=0;break;case"people":(0,o.each)(this.owners,(function(){this[0]>0&&!s[this[0]]&&(s[this[0]]=1,i++)}));break;case"groups":(0,o.each)(this.owners,(function(){this[0]<0&&!s[this[0]]&&(s[this[0]]=1,i++)}));break;default:var _=1<<(0,o.intval)(e.replace("list",""));(0,o.each)(this.owners,(function(){this[4]&_&&!s[this[0]]&&(s[this[0]]=1,i++)}))}return this.selCnt=i,this.selected=s,this.selTabUpdate(),this.renderList(),!1}onOlistFilters(e,t){l.default.show(e,t);var i=t=>{l.default.toggle(e,!1),removeEvent(document,"mousedown",i)};return addEvent(document,"mousedown",i),t&&(0,_.cancelEvent)(t)}selTabUpdate(){if(this.isAlbumEdit)this.onTabUpdate&&this.onTabUpdate();else if(this.tabs){var e=this.selCnt,t=this.owners.length-e,i=geByClass1("olist_tab_sel",this.tabs),s=geByClass1("olist_tab_unsel",this.tabs);val(geByClass1("ui_tab_count",i),e||""),val(geByClass1("ui_tab_count",s),t||""),this.onTabUpdate&&this.onTabUpdate()}}renderList(e,t,i){t=t||0,i=i||this.sel;var r=t?60:120,l=this;e&&(e=e.replace(/\u2013|\u2014/g,"-"));var a=e?this.indexer.search(e):this.owners;l.unsortedIndex==i&&l.getUnsorted&&(a=l.getUnsorted(a));var h=this.selected,d=l.invertedSelection?!(this.sel<0):this.sel<0,u=l.tpl;if(i&&l.unsortedIndex!=i){var c=[];(0,o.each)(a,(function(){var e=this[l.idIndex];if((!d&&h[e]||d&&!h[e])&&(c.push(this),c.length>t+r))return!1})),a=c}var p=a.length;a=a.slice(t,t+r);var b,m=[];if(e){e=(0,o.clean)(e);var E=(0,o.escapeRE)(e),g=(0,n.parseLatin)(e);null!=g&&(E=E+"|"+(0,o.escapeRE)(g)),b=new RegExp("(?![^&;]+;)(?!<[^<>]*)((\\(*)("+E+"))(?![^<>]*>)(?![^&;]+;)","gi")}var v=l.rsTpl?l.rsTpl:function(e,t,i,s,o){var _=!i&&s[e[0]]||i&&!s[e[0]],r=e[1];if(t){r=-1==t.indexOf(" ")?r.split(" "):[r];var l="";for(var n in r)r.hasOwnProperty(n)&&(l+=(n>0?" ":"")+r[n].replace(o,"$2<em>$3</em>"));r=l}return{id:e[0],name:r,photo:e[2],classname:_?" olist_item_wrap_on":"",link:e[3]||(e[0]>0?"id"+e[0]:"club"+-e[0])}};(0,o.each)(a,(function(){m.push((0,s.rs)(u,v(this,e,l.invertedSelection,h,b)))})),t||m.length||m.push('<div class="no_rows">'+(e?getLang("global_search_not_found").replace("{search}",e):l.noSelMsg)+"</div>"),(0,s.re)(this.moreEl),m=m.join(" "),t?this.olistEl.appendChild((0,s.cf)(m)):val(this.olistEl,m),p>t+r&&(this.olistEl.appendChild(this.moreEl),this.moreEl.onclick=function(i){return l.renderList(e,t+r),(0,_.cancelEvent)(i)}),l.box&&l.box.scroll&&l.box.scroll.update(!1,!0),l.onScroll()}}},364122:(e,t,i)=>{i.d(t,{default:()=>r});var s=i(315544),o=i(803834),_={showSaved:function(e){var t=ge(e),i=t&&(0,s.gpeByClass)("page_block",t),o=i&&geByClass1("page_block_saved",i);if(t&&i&&o){var r=animate.pbind(o,{opacity:1},200,animate.pbind(o,{opacity:0},2e3));_.scrollToStart(i,r)}},scrollToStart:function(e,t){var i=(0,s.getXY)(e)[1];(0,o.scrollGetY)()>i-60?((0,o.scrollToY)(i-60,200),t&&setTimeout(t,200)):t&&t()}};const r=_},791713:(e,t,i)=>{i.d(t,{default:()=>n});var s=i(726271),o=i(315544),_=i(695724),r=i(49535),l={over:function(e,t,i){if(!s.browser.mobile&&!vk.widget){hasClass(e,"ui_zoom_wrap")||addClass(e,"ui_zoom_wrap"),cur.bigphCache=cur.bigphCache||{},i=i||{};var r=(0,o.domFC)(e),n=cur.bigphCache[t];if("A"!=r.tagName||!hasClass(r,"ui_zoom_outer")){var a=n&&n._id?"/photo"+n._id+"?all=1":"/albums"+t;(r=e.insertBefore((0,o.se)(`<a class="ui_zoom_outer" href="${a}" aria-label="${(0,_.clean)(getLang("global_photo_full_size"))}"><div class="ui_zoom_inner"><div class="ui_zoom"><div class="ui_zoom_icon"></div></div></div></a>`),(0,o.domFC)(e)))._uid=t,r.offsetHeight,addClass(r,"ui_zoom_added")}r.onclick=l.click.pbind(e,t,i),i.fastLoad&&l.load(e,t,i)}},click:function(e,t,i,s){if(!s||!1===(0,r.checkEvent)(s)){i.fastLoad||l.load(e,t,i);var o=cur.bigphCache[t];if(o)return"load"==o||"show"==o?(cur.bigphCache[t]="show",(0,r.cancelEvent)(s)):(i.onBeforeShow&&i.onBeforeShow(),extend(o,extend({jumpTo:{z:"albums"+t}},i.showOpts||{})),showPhoto(o._id,"album"+t+"_0/rev",o,s))}},load:function(e,t,i){var s=(0,o.domFC)(e);void 0===cur.bigphCache[t]&&(cur.bigphCache[t]="load",ajax.post("al_photos.php",{act:"fast_get_photo",oid:t},{onDone:function(_){if(!_)return e.onmouseover=function(){},void(0,o.re)(s);var r="show"==cur.bigphCache[t];cur.bigphCache[t]=_,s.href="/photo"+_._id+"?all=1",r&&l.click(e,t,i)},onFail:function(){return e.onmouseover=function(){},(0,o.re)((0,o.domFC)(e)),!0}}))}};const n=l},293498:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var _shared_lib_browser__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(726271),_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(695724),_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(315544),_web_lib_dom_events__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(49535),_web_lib_ui__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(386409),_web_lib_fx__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(635676),_web_lib_layout_utils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(635429),_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(787481),uiRightMenu={initMenu:function(e,t){if(!(_shared_lib_browser__WEBPACK_IMPORTED_MODULE_0__.browser.msie&&(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_1__.intval)(_shared_lib_browser__WEBPACK_IMPORTED_MODULE_0__.browser.version)<10||_shared_lib_browser__WEBPACK_IMPORTED_MODULE_0__.browser.opera&&(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_1__.intval)(_shared_lib_browser__WEBPACK_IMPORTED_MODULE_0__.browser.version)<15||hasClass(e,"ui_rmenu_sliding"))){var i=geByClass1("ui_rmenu_item",e),s=geByClass1("ui_rmenu_item_sel",e),o=s||i,_=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.getSize)(o)[1],r=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.getXY)(o)[1]-(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.getXY)(e)[1],l=geByClass1("_ui_rmenu_slider",e);if(!t)setStyle(l,{height:_,top:s?r:0}),addClass(e,"ui_rmenu_sliding")}},go:function(e,t,i,s){if((0,_web_lib_dom_events__WEBPACK_IMPORTED_MODULE_3__.checkEvent)(t))return!0;var o=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.gpeByClass)("ui_rmenu",e);return!(!(s||{}).ignoreSelected&&geByClass1("ui_rmenu_item_sel",o)==e)&&(uiRightMenu.switchMenu(e),uiRightMenu.showProgress(e),!1!==i&&nav.go(i||e,t,extend({fromMenu:!0},s||{})))},switchMenu:function(e,t){var i=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.gpeByClass)("ui_rmenu",e),s=geByClass1("ui_rmenu_item_sel",i);if(e==s&&!t)return!1;uiRightMenu.initMenu(i);var o=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.getSize)(e)[1],_=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.getXY)(e)[1]-(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.getXY)(i)[1],r=[],l=[];if(hasClass(i,"_ui_rmenu_auto_expand")){var n=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.geByClass)("_ui_rmenu_sublist",i),a=hasClass(e,"_ui_rmenu_subitem")?(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.gpeByClass)("_ui_rmenu_sublist",e):!!hasClass((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.domNS)(e),"_ui_rmenu_sublist")&&(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.domNS)(e);each(n,(function(){(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.isVisible)(this)&&this!==a&&(r.push(this),hide(this))})),a&&!(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.isVisible)(a)&&(l.push(a),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.show)(a)),_=e.offsetTop,each(r,(function(){(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.show)(this)})),each(l,(function(){hide(this)}))}var h=geByClass1("_ui_rmenu_slider",i),d=(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_1__.intval)(h.style.top),u={height:o};return _shared_lib_browser__WEBPACK_IMPORTED_MODULE_0__.browser.msie_edge?u.marginTop=_-d+"px":u[cssTransformProp]="translateY("+(_-d)+"px)",setStyle(h,u),removeClass(s,"ui_rmenu_item_sel"),addClass(e,"ui_rmenu_item_sel"),hasClass(i,"_ui_rmenu_auto_expand")?each(r.concat(l),(function(){uiRightMenu.toggleSubmenu(this)})):hasClass(e,"_ui_rmenu_subitem")&&!(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.isVisible)((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.domPN)(e))&&uiRightMenu.toggleSubmenu((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.domPN)(e)),!1},fixScroller:function(e){var t=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.gpeByClass)("ui_rmenu",e);if(t&&(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.isVisible)(e)){var i=hasClass(t,"ui_rmenu_sliding"),s=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.getSize)(e)[1];i&&uiRightMenu.hideSliding(t);var o=e.offsetTop,_=geByClass1("_ui_rmenu_slider",t),r=(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_1__.intval)(_.style.top),l={height:s};_shared_lib_browser__WEBPACK_IMPORTED_MODULE_0__.browser.msie_edge?l.marginTop=o-r+"px":l[cssTransformProp]="translateY("+(o-r)+"px)",setStyle(_,l),e.offsetLeft,i&&uiRightMenu.showSliding(t)}},unselectAll:function(e){removeClass(e,"ui_rmenu_sliding"),removeClass(geByClass1("ui_rmenu_item_sel",e),"ui_rmenu_item_sel")},hideSliding:function(e){removeClass(e,"ui_rmenu_sliding")},showSliding:function(e){addClass(e,"ui_rmenu_sliding")},showProgress:function(e){hasClass(e,"ui_rmenu")||(e=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.gpeByClass)("ui_rmenu",e));var t=geByClass1("ui_rmenu_loading_item",e);t&&removeClass(t,"ui_rmenu_loading_item");var i=geByClass1("ui_rmenu_item_sel",e);(0,_web_lib_ui__WEBPACK_IMPORTED_MODULE_4__.hideProgress)(e),(0,_web_lib_ui__WEBPACK_IMPORTED_MODULE_4__.showProgress)((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.domFC)(i).parentNode,"","",!1),addClass(e,"ui_rmenu_loading"),addClass(i,"ui_rmenu_loading_item")},hideProgress:function(e){hasClass(e,"ui_rmenu")||(e=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.gpeByClass)("ui_rmenu",e)),(0,_web_lib_ui__WEBPACK_IMPORTED_MODULE_4__.hideProgress)(e);var t=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.gpeByClass)("ui_rmenu",e);removeClass(e,"ui_rmenu_loading"),uiRightMenu.hideSliding(t);var i=geByClass1("ui_rmenu_loading_item",t);i&&removeClass(i,"ui_rmenu_loading_item")},toggleSubmenu:function toggleSubmenu(name,ref){var menu=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.gpeByClass)("ui_rmenu",ref),el,submenu;if("string"==typeof name?submenu=geByClass1("_ui_rmenu_"+name+"_list",menu):(submenu=name,name=submenu.getAttribute("data-sublist-id")),el=geByClass1("_ui_rmenu_"+name+"_toggle",menu),!submenu)return!1;void 0!==ref&&uiRightMenu.hideSliding(menu),el&&(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.toggleClass)(el,"ui_rmenu_item_expanded",!(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.isVisible)(submenu)),(0,_web_lib_fx__WEBPACK_IMPORTED_MODULE_5__.slideToggle)(submenu,submenu&&(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.getSize)(submenu)[1]?100:0),setTimeout(_web_lib_layout_utils__WEBPACK_IMPORTED_MODULE_6__.updateNarrow,100);var onToggle=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_2__.domData)(el,"on-toggle");return onToggle&&setTimeout((function(){try{eval(onToggle)}catch(e){(0,_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_7__.logEvalError)(e,onToggle)}}),150),!1}};const __WEBPACK_DEFAULT_EXPORT__=uiRightMenu},832230:(e,t,i)=>{i.r(t),i.d(t,{default:()=>h});i(59357),i(751876);var s=i(726271),o=i(695724),_=i(315544),r=i(49535),l=i(635676),n=i(679787);class a{constructor(e,t){if(!(e=(0,n.getScrollElement)(e)))throw new Error("uiScroll container is undefined");e.__uiScroll__&&e.__uiScroll__.destroy(),this.options=extend({global:!1,native:!1,theme:"default",reversed:!1,autoresize:!0,preserveEdgeBelow:!1,barMinHeight:30,preserveEdgeBelowThreshold:20,stopScrollPropagation:!0,stopScrollPropagationAlways:!1,minContentHeight:0,onmoreThreshold:null,hidden:!1,shadows:!1,scrollElements:[],onresize:null,onscroll:null,onscrollstart:null,onscrollstop:null,ondrag:null,ondragstart:null,ondragstop:null,onupdate:null,onmore:null,noForceReFlow:!1},t),this.options.native&&(this.options.shadows=!1),s.browser.mobile&&(this.options.stopScrollPropagation=!1),isArray(this.options.scrollElements)||(this.options.scrollElements=[]),this.removeEvents=[],this.removeElements=[],this.dragging=!1,this.dragged=!1,this.released=!0,this.noMore=!1,this.dragY=null,this.dragScroll=null,this.shadowTop=!1,this.shadowBottom=!1,this.unnecessary=!1,this.disabled=!1,this.stopped=!0,this.stoppedTimeout=null,this.fixSizeDefault=null,this.animation=null,this.barOuterHeight=null,this.barInnerHeight=null,this.currentFrame=null,this.blockerScrollTop=500,this.emitter=new EventEmitter,(0,o.isFunction)(this.options.onresize)&&this.emitter.addListener("resize",this.options.onresize),(0,o.isFunction)(this.options.onscroll)&&this.emitter.addListener("scroll",this.options.onscroll),(0,o.isFunction)(this.options.onscrollstart)&&this.emitter.addListener("scrollstart",this.options.onscrollstart),(0,o.isFunction)(this.options.onscrollstop)&&this.emitter.addListener("scrollstop",this.options.onscrollstop),(0,o.isFunction)(this.options.ondrag)&&this.emitter.addListener("drag",this.options.ondrag),(0,o.isFunction)(this.options.ondragstart)&&this.emitter.addListener("dragstart",this.options.ondragstart),(0,o.isFunction)(this.options.ondragstop)&&this.emitter.addListener("dragstop",this.options.ondragstop),(0,o.isFunction)(this.options.onupdate)&&this.emitter.addListener("update",this.options.onupdate),(0,o.isFunction)(this.options.onmore)&&this.emitter.addListener("more",this.options.onmore),this.el={container:e,overflow:ce("div",{className:"ui_scroll_overflow"}),outer:ce("div",{className:"ui_scroll_outer"},{margin:this.options.stopScrollPropagation?this.blockerScrollTop+"px 0":void 0}),inner:ce("div",{className:"ui_scroll_inner tt_noappend"}),shadowTop:ce("div",{className:"ui_scroll_shadow_top"}),shadowBottom:ce("div",{className:"ui_scroll_shadow_bottom"}),content:ce("div",{className:"ui_scroll_content clear_fix"}),barContainer:ce("div",{className:"ui_scroll_bar_container"}),barOuter:ce("div",{className:"ui_scroll_bar_outer"}),barInner:ce("div",{className:"ui_scroll_bar_inner"})},(0,_.data)(this.el.container,"ui-scroll",this);var i=(0,_.cf)(),l=["ui_scroll_container"];for(each(isArray(this.options.theme)?this.options.theme:trim(this.options.theme+"").split(/\s+/),(function(e,t){t&&l.push("ui_scroll_"+t+"_theme")})),addClass(this.el.container,l.join(" ")),this.options.hidden&&addClass(this.el.container,"ui_scroll_hidden");this.el.container.firstChild;)this.el.content.appendChild(this.el.container.firstChild);if(this.el.outer.appendChild(this.el.inner),this.el.inner.appendChild(this.el.content),this.options.stopScrollPropagation?(this.el.blocker=ce("div",{className:"ui_scroll_blocker"}),this.addEvent(this.el.blocker,"scroll",this.fixBlocker.bind(this),!0),this.el.blocker.appendChild(this.el.outer),this.el.overflow.appendChild(this.el.blocker)):this.el.overflow.appendChild(this.el.outer),i.appendChild(this.el.overflow),this.options.native?addClass(this.el.container,"ui_scroll_native"):(this.el.barOuter.appendChild(this.el.barInner),this.el.barContainer.appendChild(this.el.barOuter),i.appendChild(this.el.barContainer),this.options.shadows&&(this.el.overflow.appendChild(this.el.shadowTop),this.el.overflow.appendChild(this.el.shadowBottom)),s.browser.mobile||this.options.scrollElements.push(this.el.barContainer)),this.options.autoresize){var h=(0,n.addResizeSensor)(this.el.inner,this.resize.bind(this,!0)),d=(0,n.addResizeSensor)(this.el.overflow,this.resize.bind(this,!1));this.removeElements.push(h[0]),this.removeElements.push(d[0]),this.startResizeListening=function(){h[1](),d[1]()}}this.removeElements.push(this.el.overflow,this.el.barContainer),this.el.container.appendChild(i),this.options.reversed&&(this.el.outer.scrollTop=this.el.outer.scrollHeight),this.el.container.__uiScroll__=this.api={container:this.el.container,scroller:this.el.outer,content:this.el.content,emitter:this.emitter,ondragstart:this.dragstart.bind(this),ondragstop:this.dragstop.bind(this),ondrag:this.drag.bind(this),destroy:this.destroy.bind(this),disable:this.disable.bind(this,!0),enable:this.disable.bind(this,!1),scrollTop:this.scrollTop.bind(this,!0),scrollBottom:this.scrollBottom.bind(this,!0),scrollBy:this.scrollBy.bind(this),scrollIntoView:this.scrollIntoView.bind(this,!0),update:this.init.bind(this),updateAbove:this.updateAbove.bind(this),updateBelow:this.updateBelow.bind(this),data:{scrollTop:null,scrollBottom:null,scrollHeight:null,viewportHeight:null}},this.init();var u="onwheel"in this.el.outer?"wheel":void 0!==document.onmousewheel?"mousewheel":s.browser.mozilla?"MozMousePixelScroll":"DOMMouseScroll";return this.addEvent(this.el.container,u,function(e){this.animation&&this.animation.stop(),!this.disabled&&this.options.stopScrollPropagation&&(this.unnecessary?this.options.stopScrollPropagationAlways&&(0,r.cancelEvent)(e):this.isScrollEventUnused(e)?(0,r.cancelEvent)(e):(0,r.stopEvent)(e))}.bind(this),!this.options.stopScrollPropagation),this.options.native||this.addEvent(this.el.barContainer,"mousedown",this.dragstart.bind(this)),each(this.options.scrollElements,function(e,t){this.addEvent(t,u,function(e){this.disabled||this.unnecessary||(this.scrollBy(a.scrollEventDelta(e)),!this.options.stopScrollPropagation&&this.isScrollEventUnused(e)||(0,r.cancelEvent)(e))}.bind(this))}.bind(this)),this.options.reversed&&this.addEvent(this.el.container,"mousedown touchstart pointerdown",function(e){this.released=!1,this.noMore=!0;var t=this.addEvent(document,"mouseup contextmenu touchend pointerup",function(e){removeEvent(document,"mouseup contextmenu touchend pointerup",t),this.released=!0,this.noMore&&this.stopped&&!this.dragging&&(this.noMore=!1,this.more())}.bind(this))}.bind(this)),this.addEvent(this.el.outer,"scroll",function(){this.update()&&(this.stopped?(this.stopped=!1,this.emitEvent("scrollstart")):this.options.native||!1!==this.stopped||(this.stopped=0,addClass(this.el.container,"ui_scroll_scrolled")),this.emitEvent("scroll"),this.stoppedTimeout&&clearTimeout(this.stoppedTimeout),this.stoppedTimeout=setTimeout(function(){this.stopped||(this.stopped=!0,this.options.native||removeClass(this.el.container,"ui_scroll_scrolled"),this.emitEvent("scrollstop"),this.noMore&&this.released&&!this.dragging&&(this.noMore=!1,this.more()))}.bind(this),200))}.bind(this)),this.api}init(){if(this.options.stopScrollPropagation&&this.fixBlocker(),!this.inited){if(!this.el.container.scrollWidth||this.disabled)return;this.fixSize(!0),this.options.autoresize&&this.startResizeListening(),this.options.global||cur.destroy.push(this.destroy.bind(this)),this.inited=!0}return this.update(!0),this.api}addEvent(e,t,i,s){return this.removeEvents.push([e,t,i]),addEvent(e,t,i,void 0,void 0,s?{passive:!0}:void 0),i}destroy(){if(this.disabled=!0,this.fixSize(),this.animation&&this.animation.stop(),this.moreTimeout&&clearTimeout(this.moreTimeout),this.dragstopHandler&&removeEvent(document,"mouseup contextmenu",this.dragstopHandler),this.dragHandler&&removeEvent(document,"mousemove",this.dragHandler),each(this.removeEvents,(function(e,t){removeEvent.apply(null,t)})),this.el.overflow.parentNode==this.el.container){for(var e=(0,_.cf)();this.el.content.firstChild;)e.appendChild(this.el.content.firstChild);this.el.container.appendChild(e)}return(0,_.removeData)(this.el.container,"ui-scroll"),this.el.container.className=this.el.container.className.replace(/\bui_scroll_.+?\b/g," "),each(this.removeElements,(function(e,t){(0,_.re)(t)})),this.el.container.scrollTop=this.api.data.scrollTop,delete this.el.container.__uiScroll__,this.api}updateAbove(e){if((0,o.isFunction)(e)){this.animation&&this.animation.stop();var t=this.el.outer.scrollHeight-this.el.outer.scrollTop-this.el.overflow.offsetHeight;e(),this.el.outer.scrollTop=this.el.outer.scrollHeight-this.el.overflow.offsetHeight-t}return this.api}updateBelow(e){if((0,o.isFunction)(e)){this.animation&&this.animation.stop();var t=this.options.preserveEdgeBelow&&this.api.data.scrollBottom<=this.options.preserveEdgeBelowThreshold;e(),t&&this.scrollBottom(!1)}return this.api}fixBlocker(){s.browser.chrome&&!this.options.noForceReFlow&&this.forceReFlow(),this.el.blocker.scrollTop=this.blockerScrollTop}forceReFlow(){this.el.blocker.style.display="inline-block",this.el.blocker.offsetHeight,this.el.blocker.style.display=""}fixSize(e){this.options.native||(e&&null==this.fixSizeDefault&&(this.fixSizeDefault=this.el.container.style.width),setStyle(this.el.container,"width",e?(0,_.getSize)(this.el.container,!0)[0]||this.fixSizeDefault||"":this.fixSizeDefault||""))}emitEvent(e){this.disabled||this.inited&&this.emitter.emitEvent(e,[this.api])}static scrollEventDelta(e){var t=0,i=void 0!==e.deltaMode?e.deltaMode:"MozMousePixelScroll"==e.type?0:1;return"wheel"==e.type?t=e.deltaY:void 0!==e.wheelDeltaX&&void 0!==e.wheelDeltaY?(t=1/40*-e.wheelDeltaY,s.browser.mac&&s.browser.opera&&(t*=.1)):void 0!==e.wheelDelta?t=1/40*-e.wheelDelta:e.detail&&2===e.axis&&(t=e.detail),t*(1==i?15:2==i?450:1)}isScrollEventUnused(e){return a.scrollEventDelta(e)>0?!this.api.data.scrollBottom:!this.api.data.scrollTop}resize(e){if(!e&&this.options.preserveEdgeBelow){var t=this.options.preserveEdgeBelow&&this.api.data.scrollBottom<=this.options.preserveEdgeBelowThreshold;this.update(!0)&&(this.emitEvent("resize"),t&&this.scrollBottom(),this.options.stopScrollPropagation&&!e&&this.fixBlocker())}else this.update(!0)&&(this.options.stopScrollPropagation&&!e&&this.fixBlocker(),this.emitEvent("resize"))}disable(e){return this.disabled=!!e,e?(this.animation&&this.animation.stop(),this.fixSize()):(this.fixSize(!0),this.options.stopScrollPropagation&&this.fixBlocker(),this.update(!0)),(0,_.toggleClass)(this.el.container,"ui_scroll_disabled",this.disabled),this.api}dragstart(e){if(!(this.disabled||this.dragging||this.options.native))return e||(e=window.event),this.dragging=!0,this.animation&&this.animation.stop(),this.options.reversed&&(this.noMore=!0),addEvent(document,"mouseup contextmenu",this.dragstartHandler=this.dragstop.bind(this)),addEvent(document,"mousemove",this.dragHandler=this.drag.bind(this)),this.dragScroll=this.options.reversed?this.api.data.scrollBottom:this.api.data.scrollTop,this.dragY=e.screenY,(0,r.cancelEvent)(e),this.emitEvent("dragstart"),this.api}dragstop(e){if(!this.disabled&&this.dragging&&!this.options.native){if(e||(e=window.event),this.dragging=!1,this.dragstopHandler&&removeEvent(document,"mouseup contextmenu",this.dragstopHandler),this.dragHandler&&removeEvent(document,"mousemove",this.dragHandler),setStyle(bodyNode,"cursor",""),removeClass(this.el.container,"ui_scroll_dragging"),this.dragged)this.noMore&&(this.noMore=!1,this.more());else{this.options.reversed&&(this.noMore=!0);var t=(e.pageY-(0,_.getXY)(this.el.barOuter)[1]-this.barInnerHeight/2)*(Math.max(this.options.minContentHeight,this.api.data.scrollHeight)-this.api.data.viewportHeight)/(this.barOuterHeight-this.barInnerHeight);this.scrollTop(!1,t,0,function(){this.noMore&&(this.noMore=!1,this.more())}.bind(this))}return this.dragged=!1,e&&"contextmenu"!==e.type&&(0,r.cancelEvent)(e),this.emitEvent("dragstop"),this.api}}drag(e){if(!this.disabled&&this.dragging&&!this.options.native){e||(e=window.event);var t=(e.screenY-this.dragY)*(this.api.data.scrollHeight/this.el.barOuter.scrollHeight);return this.el.outer.scrollTop=this.options.reversed?this.el.outer.scrollHeight-this.el.overflow.offsetHeight-this.dragScroll+t:this.dragScroll+t,this.dragged||(this.dragged=!0,setStyle(bodyNode,"cursor","pointer"),addClass(this.el.container,"ui_scroll_dragging")),(0,r.cancelEvent)(e),this.emitEvent("drag"),this.api}}scroll(e,t,i){return this.animation&&this.animation.stop(),this.el.outer.scrollTop==e&&this.update(!0),t?(t="number"!=typeof t||!isFinite(t)||t%1?300:Math.abs(t),this.animation=new l.Fx.Base({scrollTop:this.el.outer.scrollTop},{transition:l.Fx.Transitions.easeOutCubic,onStep:function(e){this.el.outer.scrollTop=e.scrollTop}.bind(this),duration:t,onComplete:(0,o.isFunction)(i)?i.pbind(this.api):void 0}).start({scrollTop:this.el.outer.scrollTop},{scrollTop:e})):(this.el.outer.scrollTop=e,(0,o.isFunction)(i)&&i(this.api)),this.api}scrollTop(e,t,i,s){if(e&&this.options.stopScrollPropagation&&this.fixBlocker(),!this.disabled&&!this.dragging)return this.scroll((0,o.intval)(t),i,s)}scrollBottom(e,t,i,s){if(e&&this.options.stopScrollPropagation&&this.fixBlocker(),!this.disabled&&!this.dragging)return this.scroll(this.el.outer.scrollHeight-this.el.overflow.offsetHeight-(0,o.intval)(t),i,s)}scrollBy(e,t,i){if(!this.disabled&&!this.dragging)return this.scroll(this.el.outer.scrollTop+(0,o.intval)(e),t,i)}scrollIntoView(e,t,i,s){if(e&&this.options.stopScrollPropagation&&this.fixBlocker(),(t=(0,n.getScrollElement)(t))&&t.compareDocumentPosition&&t.compareDocumentPosition(this.el.content)&Node.DOCUMENT_POSITION_CONTAINS){var r=(0,_.getXY)(t)[1],l=(0,_.getXY)(this.el.overflow)[1],a=(0,_.getSize)(t)[1];if(r<=l&&r+a>=l+this.api.data.viewportHeight||r>=l&&r+a<=l+this.api.data.viewportHeight)(0,o.isFunction)(s)&&(i?setTimeout(s.bind(this.api),0):s(this.api));else if(a>this.api.data.viewportHeight||r<l)this.scrollTop(!1,r-l+this.api.data.scrollTop-(this.options.shadows?(0,_.getSize)(this.el.shadowTop)[1]:0),i,s);else{var h=this.options.shadows?(0,_.getSize)(this.el.shadowBottom)[1]:0;this.scrollTop(!1,r-l+this.api.data.scrollTop+a-this.api.data.viewportHeight+h,i,s)}}return this.api}update(e){var t,i;this.el.container&&!this.el.container.updateScroll&&(this.el.container.updateScroll=this.update.bind(this,!1));var s=this.el.outer.scrollTop;if(this.inited&&!this.disabled&&(e&&(t=this.el.inner.offsetHeight,this.api.data.viewportHeight!==(this.api.data.viewportHeight=this.el.overflow.offsetHeight)||this.api.data.scrollHeight!==t)||this.api.data.scrollTop!==s)){if(e&&(this.api.data.scrollHeight=t),this.api.data.scrollTop=Math.max(0,Math.min(this.api.data.scrollHeight-this.api.data.viewportHeight,Math.max(0,s))),this.api.data.scrollBottom=Math.max(0,this.api.data.scrollHeight-this.api.data.scrollTop-this.api.data.viewportHeight),!this.options.native){if(!(i=(t=Math.max(this.options.minContentHeight,this.api.data.scrollHeight))<=this.api.data.viewportHeight)){var o=this.el.barOuter.offsetHeight;(e||this.barOuterHeight!==o)&&(this.barOuterHeight=o,this.barInnerHeight=Math.max(this.options.barMinHeight,this.barOuterHeight*this.api.data.viewportHeight/t),this.el.barInner.style.height=this.barInnerHeight+"px"),(0,n.nextFrame)((()=>{var e=(this.barOuterHeight-this.barInnerHeight)*this.api.data.scrollTop/(t-this.api.data.viewportHeight);this.el.barInner.style.transform=`translateY(${e}px)`}))}this.options.shadows&&(this.shadowTop!=(this.api.data.scrollTop&&!i)&&(0,_.toggleClass)(this.el.container,"ui_scroll_shadow_top_visible",this.shadowTop=this.api.data.scrollTop&&!i),this.shadowBottom!=(this.api.data.scrollBottom&&!i)&&(0,_.toggleClass)(this.el.container,"ui_scroll_shadow_bottom_visible",this.shadowBottom=this.api.data.scrollBottom&&!i)),this.unnecessary!==i&&((0,_.toggleClass)(this.el.container,"ui_scroll_unnecessary",i),this.unnecessary=i,this.options.stopScrollPropagation&&this.fixBlocker(),i&&this.barInnerHeight&&this.barOuterHeight&&(0,n.nextFrame)(function(e){this.el.barInner.style.height=100*this.barInnerHeight/this.barOuterHeight+"%";var i=(this.barOuterHeight-this.barInnerHeight)*this.api.data.scrollTop/(t-this.api.data.viewportHeight)*100/this.barInnerHeight;this.el.barInner.style.transform=`translateY(${i}%)`}.bind(this)))}return this.emitEvent("update"),(!this.options.reversed||s>=0)&&this.more(),!0}return!1}more(){var e=this.options.reversed?this.api.data.scrollTop:this.api.data.scrollBottom,t=null!==this.options.onmoreThreshold?this.options.onmoreThreshold:2*this.api.data.viewportHeight;!this.noMore&&e<=t&&this.emitEvent("more")}}a.addResizeSensor=n.addResizeSensor;const h=a},428208:(e,t,i)=>{i.d(t,{default:()=>l});i(66108),i(296253);var s=i(315544),o=i(49535),_=i(803834),r={init:function(e,t){cur.lSTL&&(0,s.re)(cur.lSTL);var i=(t=t||{}).parent=t.parent||boxLayerWrap;extend(cur,{lSTLWrap:i,lSTL:i.appendChild(ce("div",{id:"layer_stl",innerHTML:`<div id="layer_stl_bg" class="fixed"></div><div id="layer_stl_cl"></div><nobr id="layer_stl_text" class="fixed">${getLang("global_to_top")}</nobr>`,el:e.bodyNode,onclick:o.cancelEvent,onmousedown:r.lSTLDown,sc:r.onScroll})),lSTLText:ge("layer_stl_text",i),lSTLShown:0,lSTLWas:0,lSTLWasSet:0,lSTLOpts:t}),e&&e.setOptions({onShow:r.show,onHide:r.hide}),e&&e.scrollInited||(addEvent(i,"scroll",r.onScroll),e&&(e.scrollInited=!0)),onBodyResize(),r.onScroll()},hide:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=cur.lSTLOpts;e&&e.parent&&(removeEvent(e.parent,"scroll",r.onScroll),hide(cur.lSTL),cur.lSTLShown=0,e.onHide&&e.onHide())})),show:function(){var e=cur.lSTLOpts;e&&e.parent&&(addEvent(e.parent,"scroll",r.onScroll),setTimeout(r.onScroll,0),e.onShow&&e.onShow())},lSTLDown:function(e){if(e=e||window.event,!(0,o.checkEvent)(e)){var t=cur.lSTLWrap;if(!__afterFocus){var i=0,s=t.scrollTop;cur.lSTLWasSet&&cur.lSTLWas?(i=cur.lSTLWas,cur.lSTLWas=0):cur.lSTLWas=s,t.scrollTop=i}return(0,o.cancelEvent)(e)}},onScroll:function(){if(cur.lSTL){var e=cur.lSTLWrap.scrollTop,t=200,i=cur.lSTLWas||e>t,o=0;if(cur.lSTL.style.marginTop=Math.min(e,boxLayer.scrollHeight-cur.lSTL.scrollHeight-1)+"px",vk.staticheader){var r=(0,s.getSize)("page_header_wrap")[1];cur.lSTLText.style.marginTop=Math.max(-Math.min((0,_.scrollGetY)(),bodyNode.clientHeight-(window.lastWindowHeight||0)),-r)+"px"}i?(1!==cur.lSTLShown&&((0,s.show)(cur.lSTL),cur.lSTLShown=1),cur.lSTLWas&&e>500&&(cur.lSTLWas=0),e>t?(o=(e-t)/t,cur.lSTLWasSet&&(cur.lSTLWasSet=0,val((0,s.domLC)(cur.lSTL),getLang("global_to_top")),removeClass((0,s.domLC)(cur.lSTL),"down"))):(o=(t-e)/t,cur.lSTLWas&&(cur.lSTLWasSet||(cur.lSTLWasSet=1,val((0,s.domLC)(cur.lSTL),""),addClass((0,s.domLC)(cur.lSTL),"down"))))):0!==cur.lSTLShown&&(hide(cur.lSTL),cur.lSTLShown=0),setStyle(cur.lSTL,{opacity:Math.min(Math.max(o,0),1)})}}};const l=r},679787:(e,t,i)=>{i.d(t,{nextFrame:()=>n,getScrollElement:()=>a,addResizeSensor:()=>h});var s,o=i(695724),_=i(726271),r=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||(e=>setTimeout(e,1)),l=window.cancelAnimationFrame||window.cancelRequestAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout;function n(e){s&&l(s),s=r(e)}function a(e){return(0,o.isString)(e)&&"_"===e[0]?geByClass1(e):ge(e)}function h(e,t){if((e=a(e))&&(0,o.isFunction)(t)){if(_.browser.msie9||_.browser.opera&&_.browser.version<13){var i=!1,s=!1,r=ce("object",{type:"text/html",className:"ui_scroll_resize_object",data:"about:blank",onload:function(){s=!0,i&&o()}});function o(){if(!r.contentDocument)return setTimeout(o,100);r.contentDocument.defaultView.removeEventListener("resize",t),r.contentDocument.defaultView.addEventListener("resize",t),t()}return e.appendChild(r),e.__resizeSensor__=[r,function(){i=!0,s&&o()}]}var l=ce("div",{className:"ui_scroll_resize_sensor"}),n=ce("div",{className:"ui_scroll_resize_sensor ui_scroll_resize_expand"}),h=ce("div",{className:"ui_scroll_resize_sensor ui_scroll_resize_shrink"}),d=ce("div"),u=ce("div"),c=null;return n.appendChild(d),h.appendChild(u),l.appendChild(n),l.appendChild(h),e.appendChild(l),e.__resizeSensor__=[l,n.onscroll=h.onscroll=function(){var i=(e.offsetWidth||1e4)+10,s=(e.offsetHeight||1e4)+10;d.style.width=i+"px",d.style.height=s+"px",n.scrollLeft=i,n.scrollTop=s,h.scrollLeft=i,h.scrollTop=s,c!==(c=i+" "+s)&&t()}]}}},664054:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var core_js_modules_es6_regexp_match__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(21466),_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(315544),_web_lib_input_utils__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(100416),_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(695724),_web_lib_element_tooltip__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(99392),_web_lib_dom_events__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(49535),_web_legacy_ui_ui_tabs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(27171),_shared_lib_browser__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(726271),_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(787481),_web_lib_scroll__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(803834),uiSearch={destroy:function(e){var t=uiSearch.getFieldEl(e);uiSearch.stopEvents(t),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.removeData)(t)},getWrapEl:function(e){return(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.domClosest)("_wrap",e)},getFieldEl:function(e){return e=ge(e),hasClass("_field",e)?e:(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.domByClass)(uiSearch.getWrapEl(e),"_field")},stopEvents:function(e){var t=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"eventHandlers")||[];each(t,(function(e,t){t.stop()}))},startEvents:function(e){var t=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"eventHandlers")||[];each(t,(function(e,t){t.stop(),t.start()}))},init:function init(el,options){if(el&&(el=uiSearch.getFieldEl(el),el)){var wrapEl=uiSearch.getWrapEl(el),delayedInitOptions=!options&&(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.domData)(wrapEl,"init-options");if(delayedInitOptions){(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.domData)(wrapEl,"init-options",null);var evalScript="(function() { return "+delayedInitOptions+" })()";try{uiSearch.init(el,eval(evalScript))}catch(e){(0,_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_8__.logEvalError)(e,evalScript)}}else if(!(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(el,"inited")){(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(el,"inited",1);var onKeyDown=uiSearch.onKeyDown.pbind(el),onBuffer=function(e){if("input"===e.type&&_shared_lib_browser__WEBPACK_IMPORTED_MODULE_7__.browser.msie){var t=val(el);if(t===((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.domData)(el,"prev-value")||""))return;(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.domData)(el,"prev-value",t)}setTimeout(uiSearch.onChanged.pbind(el,!1,e),0)},onBlur=uiSearch.onBlurred.pbind(el),mainHandler;if((0,_web_lib_input_utils__WEBPACK_IMPORTED_MODULE_2__.placeholderInit)(el),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(el,"opts",options),options.suggester)options.suggester.instance=new Suggester(el,extend(options.suggester,{type:options.suggester.type,historyItems:!!options.suggester.history&&options.suggester.historyItems,onSearch:function(e,t,i){e||(options.allowFiltersForEmpty||uiSearch.removeAllFilters(el),uiSearch.hideProgress(el)),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.toggleClass)(wrapEl,"ui_search_field_empty",!e),options.onChange&&options.onChange.call(el,e,t,i)}})),mainHandler={start:function(){addEvent(el,"blur",onBlur),options.onBlur&&addEvent(el,"blur",options.onBlur),options.onFocus&&addEvent(el,"focus",options.onFocus)},stop:function(){removeEvent(el,"blur",onBlur),options.onBlur&&removeEvent(el,"blur",options.onBlur),options.onFocus&&removeEvent(el,"focus",options.onFocus)}};else{var searchBtn=geByClass1("_ui_search_button_search",wrapEl),onBtnClick=function(e){uiSearch.onEnter(el,e),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.elfocus)(el)};mainHandler={start:function(){addEvent(el,"keydown",onKeyDown),addEvent(el,"paste cut input",onBuffer),addEvent(el,"blur",onBlur),options.onBlur&&addEvent(el,"blur",options.onBlur),options.onFocus&&addEvent(el,"focus",options.onFocus),searchBtn&&addEvent(searchBtn,"click",onBtnClick)},stop:function(){removeEvent(el,"keydown",onKeyDown),removeEvent(el,"paste cut input",onBuffer),removeEvent(el,"blur",onBlur),options.onBlur&&removeEvent(el,"blur",options.onBlur),options.onFocus&&removeEvent(el,"focus",options.onFocus),searchBtn&&removeEvent(searchBtn,"click",onBtnClick)}}}if(mainHandler.start(),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(el,"eventHandlers",[mainHandler]),options.params){var content=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.se)((0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__.trim)(options.params.html));options.paramsTooltip=new _web_lib_element_tooltip__WEBPACK_IMPORTED_MODULE_4__.default(geByClass1("_ui_search_params_button",wrapEl),{appendTo:wrapEl,content,autoShow:!1,customShow:!0,offset:[0,-2],shift:options.params.shift?options.params.shift:0}),options.paramsTooltip.build(),setTimeout((function(){(function initScript(){try{eval(options.params.script)}catch(e){(0,_web_lib_debug_tools__WEBPACK_IMPORTED_MODULE_8__.logEvalError)(e,options.params.script)}}).call(el)}))}options.fixed&&uiSearch.setFixed(el),options.noAutoDestroy||cur.destroy.push(uiSearch.stopEvents.pbind(el)),uiSearch.initFilters(el,options),(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__.isFunction)(options.onInit)&&options.onInit(el,options)}}},getOptions:function(e){var t=uiSearch.getWrapEl(e),i=geByClass1("_field",t);return(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(i,"opts")},toggleParameters:function(e){var t=uiSearch.getOptions(e);t.paramsTooltip&&t.paramsTooltip.toggle()},hideParameters:function(e){var t=uiSearch.getOptions(e);t&&t.paramsTooltip&&t.paramsTooltip.hide()},saveHistorySearch:function(e,t,i,s,o,_){t||(t=val(e));var r=uiSearch.getOptions(e);r.suggester&&r.suggester.instance&&r.suggester.instance.saveHistoryItem(t,i,s,o,_)},onEnter:function(e,t){e=uiSearch.getFieldEl(e);var i=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"opts"),s=e.getValue?e.getValue():e.value;return i.onEnter&&i.onEnter(e,s,t),(0,_web_lib_dom_events__WEBPACK_IMPORTED_MODULE_5__.cancelEvent)(t)},onKeyDown:function(e,t){if(cur.preventInputActions&&-1!=[KEY.RETURN,KEY.ESC,KEY.DOWN,KEY.UP].indexOf(t.keyCode))return(0,_web_lib_dom_events__WEBPACK_IMPORTED_MODULE_5__.cancelEvent)(t);if(t.keyCode==KEY.RETURN)return uiSearch.onEnter(e,t);if(t.keyCode==KEY.ESC){var i=!!val(e);return uiSearch.reset(e,!1,t),!i||(0,_web_lib_dom_events__WEBPACK_IMPORTED_MODULE_5__.cancelEvent)(t)}setTimeout.pbind(uiSearch.onChanged.pbind(e,!1,t),0)},onBlurred:function(e,t){var i=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"opts");i.onBlur&&i.onBlur.call(e,t)},onChanged:function(e,t,i){e=uiSearch.getFieldEl(e);var s=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"opts"),o=uiSearch.getWrapEl(e),_=e.getValue?e.getValue():e.value;(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.toggleClass)(o,"ui_search_field_empty",!(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__.trim)(_)),_||s.allowFiltersForEmpty||uiSearch.removeAllFilters(e),t||s.onChange&&s.onChange.call(e,_,i)},focus:function(e){e=uiSearch.getFieldEl(e),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.elfocus)(e)},reset:function(e,t,i){e=uiSearch.getFieldEl(e);var s=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"opts")||{},o=uiSearch.getWrapEl(e);(e.getValue?e.getValue():e.value)?(val(e,""),uiSearch.onChanged(e,t,i),t||s.onEnter&&s.onEnter(e,""),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.elfocus)(e)):s.in_tabs&&_web_legacy_ui_ui_tabs__WEBPACK_IMPORTED_MODULE_6__.default.hideSearch(o),window.tooltips&&tooltips.destroyAll()},showProgress:function(e){e=uiSearch.getFieldEl(e);var t=uiSearch.getWrapEl(e);addClass(t,"ui_search_loading");var i=e.getValue?(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__.trim)(e.getValue()):e.value;(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.toggleClass)(t,"ui_search_field_empty",!i)},hideProgress:function(e){e=uiSearch.getFieldEl(e);var t=uiSearch.getWrapEl(e);removeClass(t,"ui_search_loading");var i=e.getValue?(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__.trim)(e.getValue()):e.value;(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.toggleClass)(t,"ui_search_field_empty",!i)},scrollResize:function(e){if(!_shared_lib_browser__WEBPACK_IMPORTED_MODULE_7__.browser.mobile){e=uiSearch.getFieldEl(e);var t,i=uiSearch.getWrapEl(e),s=i&&(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.domPN)(i),o=i&&hasClass(i,"ui_search_fixed"),_=ge(cur.uiSearchPageBlock)||(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.gpeByClass)("page_block",e),r=vk.staticheader?Math.max(0,(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.getSize)(ge("page_header"))[1]-scrollNode.scrollTop):(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.getSize)(ge("page_header"))[1],l=i&&(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.isAncestor)(i,boxLayerWrap);if(i&&s&&(l||(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.gpeByClass)("scroll_fix",i))&&(!e.ignoreFixed||o)&&(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.isVisible)(s))if(l?(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.getXY)(s,!0)[1]<0:(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.getXY)(s,!0)[1]<r){var n=(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__.intval)((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.getStyle)(e,"width"));!o&&n&&(setStyle(s,"height",(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.getSize)(i)[1]),setStyle(i,"width",n),addClass(i,"ui_search_fixed"));var a=Math.min(0,Math.max(-bodyNode.scrollLeft,bodyNode.clientWidth-(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.getSize)(ge("page_layout"))[0]));if(setStyle(i,{marginLeft:a}),_){var h=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.getXY)(_)[1]+(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.getSize)(_)[1]-(0,_web_lib_scroll__WEBPACK_IMPORTED_MODULE_9__.scrollGetY)()-e.offsetHeight;(t=Math.min(r,Math.max(-e.offsetHeight,h)))!==cur.lastUISearchPos&&(setStyle(i,"top",t),cur.lastUISearchPos=t)}}else o&&(setStyle(s,"height",""),setStyle(i,{top:"",marginLeft:""}),cur.lastUISearchPos=!1,removeClass(i,"ui_search_fixed"))}},setStatic:function(e){e.ignoreFixed=!0;var t=uiSearch.getWrapEl(e),i=t&&(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.domPN)(t);t&&i&&(setStyle(i,"height",""),setStyle(t,{top:"",marginLeft:""}),cur.lastUISearchPos=!1,removeClass(t,"ui_search_fixed"))},setFixed:function(e){if(e.ignoreFixed=!1,!(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"resizeEventHandler")){var t=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.isAncestor)(e,boxLayerWrap)?boxLayerWrap:window,i=uiSearch.scrollResize.pbind(e),s={stop:removeEvent.pbind(t,"scroll",i),start:addEvent.pbind(t,"scroll",i)};(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"eventHandlers",((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"eventHandlers")||[]).concat([s])),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"resizeEventHandler",!0),s.start()}uiSearch.scrollResize(e)},initFilters:function(e,t){if(e){var i=uiSearch.getWrapEl(e),s=geByClass1("ui_search_fltr_control",i),o={start:function(){addEvent(s,"click",(function(e){hasClass(s,"shown")&&!hasClass(e.target,"ui_search_fltr_control")||r(s)})),addEvent(s,"mouseover",(function(){if(hasClass(s,"shown")){var e=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(s,"hidetimer");e&&(clearTimeout(e),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(s,"hidetimer",0)),r(s,!0)}})),addEvent(s,"mouseout",(function(){(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(s,"hidetimer")||(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(s,"hidetimer",setTimeout((function(){r(s,!1),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(s,"hidetimer",0)}),200))}))},stop:removeEvent.pbind(s,"click mouseover mouseout")};(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"eventHandlers",((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"eventHandlers")||[]).concat([o])),o.start();var _=uiSearch._getFiltersPane(e);addEvent(_,"click",(function(t){if(hasClass(t.target,"token_title")||hasClass(t.target,"token_del")){var i=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.gpeByClass)("token",t.target),s=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.domData)(i,"id");uiSearch.removeFilter(e,s)}}))}function r(e,t){(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.toggleClass)(e,"shown",t)}},removeAllFilters:function(e){var t=uiSearch._getFiltersPane(e),i=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(t,"cur_filters");each(extend({},i),(function(t){uiSearch.removeFilter(e,t,!0)}))},toggleFilter:function(e,t,i,s){s?uiSearch.addFilter(e,t,i):uiSearch.removeFilter(e,t)},addFilter:function(e,t,i){if(t&&i){var s=uiSearch._getFiltersPane(e),o=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(s,"cur_filters")||{};o[t]=i,(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(s,"cur_filters",o);var _=uiSearch.getOptions(e);_.onFiltersChanged&&_.onFiltersChanged(o),uiSearch._renderFilters(e)}},removeFilter:function(e,t,i){var s=uiSearch._getFiltersPane(e),o=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(s,"cur_filters")||{};if(o[t]){delete o[t],(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(s,"cur_filters",o);var _=uiSearch.getOptions(e);_.onFilterRemoved&&_.onFilterRemoved(t,e,i),_.onFiltersChanged&&_.onFiltersChanged(o),uiSearch._renderFilters(e)}},_getFiltersPane:function(e){var t=uiSearch.getWrapEl(e)||e;return geByClass1("ui_search_filters_pane",t)},_renderFilters:function(e){clearTimeout((0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"renderFiltersTO")),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(e,"renderFiltersTO",setTimeout(uiSearch._doRenderFilters.pbind(e)))},_doRenderFilters:function(e){var t=uiSearch._getFiltersPane(e),i=(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.data)(t,"cur_filters")||{},s=geByClass1("ui_search_filters",t);if(s)if((0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__.isEmpty)(i))removeClass(t,"expanded"),setTimeout((function(){s.innerHTML="",hide(t)}),200);else{(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.show)(t),(0,_web_lib_dom__WEBPACK_IMPORTED_MODULE_1__.addClassDelayed)(t,"expanded");var o=[],_={},r=0;each(i,(function(e,t){var i=!1,s=!1,l=e.match(/(.*?)_([^_]+)$/),n=l&&l[2]||!1;(l=l&&l[1]||!1)&&(void 0!==_[l]&&"from"===n?s=_[l]:void 0!==_[l]&&(i=_[l]+1),_[l]=r);var a=`<div class="token" id="token${e}" data-id="${e}">\n                         <div class="token_title">${(0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__.replaceEntities)((0,_web_lib_utils_common__WEBPACK_IMPORTED_MODULE_3__.clean)(t))}</div>\n                         <div class="token_del"></div>\n                       </div>`;!1!==s?o.splice(s,0,a):!1!==i?o.splice(i,0,a):o.push(a),r++})),s.innerHTML=o.join("")}}};const __WEBPACK_DEFAULT_EXPORT__=uiSearch},27171:(e,t,i)=>{i.r(t),i.d(t,{default:()=>n});var s=i(315544),o=i(695724),_=i(726271),r=i(49535),l={initTabs:function(e,t){if(!(_.browser.msie&&(0,o.intval)(_.browser.version)<10||_.browser.opera&&(0,o.intval)(_.browser.version)<15||hasClass(e,"ui_tabs_sliding"))){var i=(0,s.getSize)(t)[0],r=t.offsetLeft,l=(0,s.geByClass1)("_ui_tabs_slider",e);if(!(0,s.domData)(e,"inited"))setStyle(l,{width:i+"px",marginLeft:r})}},tryInit:function(e){if(!(0,s.domData)(e,"inited")){var t=(0,s.geByClass1)("ui_tab_group_sel",e)||(0,s.geByClass1)("ui_tab_sel",e);t&&l.initTabs(e,t),(0,s.domData)(e,"inited",1)}},goTab:function(e,t,i){if((0,r.checkEvent)(t))return!0;var o=(0,s.gpeByClass)("ui_tabs",e);return!(!i&&(0,s.geByClass1)("ui_tab_sel",o)==e)&&(l.switchTab(e),l.showProgress(o),nav.go(e,t,{tab:e}))},switchTab:function(e,t){var i=(0,s.gpeByClass)("ui_tabs",e),_=(0,s.geByClass1)("ui_tab_sel",i),r=null,n=null,a=hasClass(_,"ui_tab_group_item")?n=(0,s.gpeByClass)("ui_tab_group",_):_,h=hasClass(e,"ui_tab_group_item")?r=(0,s.gpeByClass)("ui_tab_group",e):e;if(e!=_){if(e!=h&&(l.toggleGroup(h,!1),l.resetLabel(h,e)),a){l.initTabs(i,a),(t=t||{}).noAnim||h===a||(addClass(i,"ui_tabs_sliding"),clearTimeout(cur.tabSlidingTO),cur.tabSlidingTO=setTimeout(removeClass.pbind(i,"ui_tabs_sliding"),300));var d=(0,s.geByClass1)("_ui_tabs_slider",i),u=(0,o.intval)(d.style.marginLeft),c={width:(0,s.getSize)(h)[0]+"px"};c[cssTransformProp]="translateX("+(h.offsetLeft-u)+"px)",setStyle(d,c),_!=a&&h!=a&&l.resetLabel(a),a!=_&&removeClass(a,"ui_tab_group_sel"),removeClass(_,"ui_tab_sel")}if(h!=e&&addClass(h,"ui_tab_group_sel"),addClass(e,"ui_tab_sel"),n&&removeClass(n,"ui_tab_hide_separator"),r){i=(0,s.geByClass1)("ui_tab_group_items",r,"div").children;var p=null;each(i,(function(e,t){"SPAN"===t.tagName?p=t:hasClass((0,s.domFC)(t),"ui_tab_sel")||hasClass(t,"unshown")||(p=null)})),p&&addClass(r,"ui_tab_hide_separator")}}return!1},resetLabel:function(e,t){var i=(0,s.geByClass1)("ui_tab_group_label",e,"span");i&&(i.innerHTML=(t||i).getAttribute("data-default-label"))},toggleGroup:function(e,t){var i=(0,s.data)(e,"visibletimer");i&&clearTimeout(i),(0,s.data)(e,"visibletimer",setTimeout(s.toggleClass.pbind(e,"visible",t),t?0:100)),(0,s.toggleClass)(e,"shown",t)},showGroup:function(e){var t=(0,s.data)(e,"hidetimer");t&&(clearTimeout(t),(0,s.data)(e,"hidetimer",0)),l.toggleGroup(e,!0)},hideGroup:function(e){(0,s.data)(e,"hidetimer")||(0,s.data)(e,"hidetimer",setTimeout((function(){l.toggleGroup(e,!1),(0,s.data)(e,"hidetimer",0)}),200))},showProgress:function(e){hasClass(e,"ui_tabs")||(e=(0,s.gpeByClass)("ui_tabs",e)),addClass(e,"ui_tabs_loading")},hideProgress:function(e){hasClass(e,"ui_tabs")||(e=(0,s.gpeByClass)("ui_tabs",e)),removeClass(e,"ui_tabs_loading")},showSearch:function(e,t){if(cur.viewAsBox)return cur.viewAsBox();if((0,r.checkEvent)(t))return!0;var i=(0,s.gpeByClass)("ui_tabs",e),o=(0,s.domByClass)(i,"_field");return addClass(i,"ui_tabs_search_opened"),uiSearch.focus(o),!1},hideSearch:function(e,t){if((0,r.checkEvent)(t))return!0;var i=(0,s.gpeByClass)("ui_tabs",e);return removeClass(i,"ui_tabs_search_opened"),!1}};const n=l},891260:(e,t,i)=>{i.d(t,{isKeyboardActivationEvent:()=>o});var s=i(49535),o=function(e){return!!(window.KeyboardEvent&&e instanceof window.KeyboardEvent)&&(!(e.ctrlKey||e.altKey||e.metaKey)&&!![s.KEY.ENTER,s.KEY.SPACE].includes(e.keyCode))}}},__webpack_module_cache__={},deferred,leafPrototypes,getProto;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var i=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(i.exports,i,i.exports,__webpack_require__),i.loaded=!0,i.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=(e,t,i,s)=>{if(!t){var o=1/0;for(n=0;n<deferred.length;n++){for(var[t,i,s]=deferred[n],_=!0,r=0;r<t.length;r++)(!1&s||o>=s)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](t[r])))?t.splice(r--,1):(_=!1,s<o&&(o=s));if(_){deferred.splice(n--,1);var l=i();void 0!==l&&(e=l)}}return e}s=s||0;for(var n=deferred.length;n>0&&deferred[n-1][2]>s;n--)deferred[n]=deferred[n-1];deferred[n]=[t,i,s]},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},getProto=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);__webpack_require__.r(i);var s={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var o=2&t&&e;"object"==typeof o&&!~leafPrototypes.indexOf(o);o=getProto(o))Object.getOwnPropertyNames(o).forEach((t=>s[t]=()=>e[t]));return s.default=()=>e,__webpack_require__.d(i,s),i},__webpack_require__.d=(e,t)=>{for(var i in t)__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},__webpack_require__.e=()=>Promise.resolve(),__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={68435:0};__webpack_require__.O.j=t=>0===e[t];var t=(t,i)=>{var s,o,[_,r,l]=i,n=0;for(s in r)__webpack_require__.o(r,s)&&(__webpack_require__.m[s]=r[s]);if(l)var a=l(__webpack_require__);for(t&&t(i);n<_.length;n++)o=_[n],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[_[n]]=0;return __webpack_require__.O(a)},i=self.webpackChunkvk=self.webpackChunkvk||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var __webpack_exports__=__webpack_require__.O(void 0,[68592],(()=>__webpack_require__(121590)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();